//
//  UIView+SCCreate.h
//  Shuaiche
//
//  Created by dangshuai on 2019/3/11.
//  Copyright © 2019 zzs. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (SCCreate)


+ (UIButton *)createMainTintButtonWithTitle:(NSString *)title;

- (void)createBottomButtons:(NSArray *)titles handle:(void(^)(NSInteger idx))block;

+ (UIButton *)createBottomButton:(NSString *)title;

- (void)maskLayerWithCornerRadius:(CGFloat)r;


- (void)setBackgroundColor:(UIColor *)backgroundColor forIndex:(NSInteger)idx;

+ (UILabel *)labelWithFont:(UIFont *)font textColor:(UIColor *)color;

- (UIView *)SCsnapshotView;
@end

